from sqlalchemy import *
from rpc.schema.Base import Base, gen_id
import uuid


class ComPartner(Base):
    # 表的名字:
    __tablename__ = 'com_partner'

    # 表的结构:
    id = Column(String(36), primary_key=True, default=gen_id)
    company_id = Column(String(36), default="")
    amount = Column(String(30), default="")
    name = Column(String(100), default="")
    share_rate = Column(String(30), default="")
    time = Column(DateTime)
